package com.delivery.www.service;

import com.delivery.www.po.Coupon;

import java.sql.Connection;
import java.sql.SQLException;
import java.util.List;

public interface CouponService {
    //获取店铺抵用券
    public List<Coupon> getCoupon(int storeId);

    //商家新增抵用券
    public boolean addCoupon(int storeId,int value,int min);

    //删除抵用券
    public boolean deleteCoupon(int couponId);

    //获取一张优惠券
    public Coupon getOneCoupon(int couponId);
}
